package com.lzj;

import org.springframework.boot.builder.SpringApplicationBuilder;
import org.springframework.boot.web.servlet.support.SpringBootServletInitializer;

/**
 * @author 贱贱
 * @Description web容器中部署
 * @Date 2024/07/28 22:09
 */
public class MoocServletInitializer extends SpringBootServletInitializer {

    @Override
    protected SpringApplicationBuilder configure(SpringApplicationBuilder builder) {
        return builder.sources(MoocApplication.class);
    }
}
